﻿@model Domain.Models.Userinfo

@{
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <link rel="stylesheet" type="text/css" href="/Content/regist/css/regist.css">
    <link href="~/Content/X-admin/lib/layui/css/modules/layer/default/layer.css" rel="stylesheet" />
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="~/Content/X-admin/lib/layui/lay/modules/layer.js"></script>
</head>
<body>
    <div class="wrapper">
        <article>
            <h1><em></em><span>叮当图书商城</span></h1>
            <div class="main">
                <form method="post">
                    @Html.AntiForgeryToken()
                    <div class="userName">
                        <input type="text" name="Username" placeholder="用户名" value="@Model.Username"><em>@*由5-8个字符组成！*@</em>
                    </div>
                    <div class="tel">
                        <input type="tel" name="Telephone" placeholder="手机号" value="@Model.Telephone"><em>@*由11个字符组成！*@</em>
                    </div>
                    <div class="password">
                        <input type="password" name="Password" placeholder="密码" value="@Model.Password"><em>@*使用字母、数字、符号两种及以上的组合，8-12个字符*@</em>
                    </div>
                    <div class="againpwd">
                        <input type="password" name="ConfirmPwd" placeholder="再次输入密码" value="@ViewBag.ConfirmPwd"><em>@*两次密码不一致*@</em>
                    </div>
                    <button type="submit">注册</button>
                </form>
            </div>
        </article>
        <footer>
            <ul>
                <li><a href="#">联系我们</a></li>
                <li><a href="#">关于我们</a></li>
                <li><a href="#">人才招聘</a></li>
                <li><a href="#">友情链接</a></li>
                <li><a href="#">公司地址</a></li>
                <li><a href="#">关注我们</a></li>
            </ul>
            <p></p>
        </footer>
    </div>
    <script>
        $(function  () {
             @if (TempData["msg"] != null)
              {
                  <text>
                layer.msg("@TempData["msg"]", function () {
                });
                </text>
              }
        })

    </script>
</body>
</html>


